package com.ruoyi.project.system.information.mapper;

import com.ruoyi.project.system.information.domain.CustomerInformation;
import java.util.List;

/**
 * 微信订单Mapper接口
 * 
 * @author xc
 * @date 2020-02-29
 */
public interface CustomerInformationMapper 
{
    /**
     * 查询微信订单
     * 
     * @param id 微信订单ID
     * @return 微信订单
     */
    public CustomerInformation selectCustomerInformationById(Integer id);

    /**
     * 查询微信订单列表
     * 
     * @param customerInformation 微信订单
     * @return 微信订单集合
     */
    public List<CustomerInformation> selectCustomerInformationList(CustomerInformation customerInformation);

    /**
     * 新增微信订单
     * 
     * @param customerInformation 微信订单
     * @return 结果
     */
    public int insertCustomerInformation(CustomerInformation customerInformation);

    /**
     * 修改微信订单
     * 
     * @param customerInformation 微信订单
     * @return 结果
     */
    public int updateCustomerInformation(CustomerInformation customerInformation);

    /**
     * 删除微信订单
     * 
     * @param id 微信订单ID
     * @return 结果
     */
    public int deleteCustomerInformationById(Integer id);

    /**
     * 批量删除微信订单
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteCustomerInformationByIds(String[] ids);

    public CustomerInformation selectCustomerInformationByIp(String ip);

    public int updateCustomerInformationByIp(CustomerInformation customerInformation);

}
